package com.woniu.orderservice.dao;

import com.woniu.orderservice.entity.Applications;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface ApplicationsDao {
    Applications queryById(Integer id);

    List<Applications> queryAllByLimit(@Param("offset") int offset, @Param("limit") int limit);
    
    List<Applications> findAll();

    List<Applications> queryAll(Applications applications);

    int insert(Applications applications);

    int update(Applications applications);

    int deleteById(Integer id);

}